package cn.wolfcode.edu.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Created by ASUS on 2018/7/10.
 */
@Getter@Setter
public class ScheduleQueryObject extends QueryObject {
    private Long classId;//班级id
    private Long roomId;//教室id
    private Long teacherId;//教师id
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd ",timezone="GMT+8")
    private Date beginDate;//开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern="yyyy-MM-dd ",timezone="GMT+8")
    private Date endDate;//结束时间
}
